package org.lesson4_aop.service;

public abstract class CommonLog {

    public  void log(){

        System.out.println("日志记录中....");
    }


    public void  close(){
        System.out.println("操作结束...");
    }

    public  void excute(){
         this.log();
         this.action();
         this.close();
    }

    public abstract void action() ;

}
